Controlling Sequence Grabber Components
Sequence grabber components provide a full set of functions that allow your application to control the preview or record operation. You can use these functions to start and stop the operation, to pause data collection, and to retrieve a reference to the movie that is created during a record operation. This section describes these functions.Use the
SGStartPreview
function to start a preview operation. TheSGStartRecord
function lets you start a record operation. TheSGStop
function allows you to stop a sequence grabber component.You can instruct the sequence grabber to pause by calling the
SGPause
function. You can determine whether the sequence grabber is paused by calling theSGGetPause
function.You grant processing time to the sequence grabber by calling the
SGIdle
function. Be sure to call this function often during record and preview operations. If your application receives an update event during a record or preview operation, you should call theSGUpdate
function.You can prepare the sequence grabber for an upcoming preview or record operation by calling the
SGPrepare
function. This function also allows the sequence grabber to verify that it can support the parameters you have specified. By verifying the parameters you want to use, you can improve the startup of preview and record operations. Use theSGRelease
function to release system resources after calling theSGPrepare
function.You can retrieve a reference to the movie created by a record operation by calling the
SGGetMovie
function. You can determine the resource ID value assigned to the last movie resource created by the sequence grabber by calling theSGGetLastMovieResID
function.You can extract a picture from the video source data by calling the
SGGrabPict
function.
Subtopics
- SGStartPreview
- SGStartRecord
- SGIdle
- SGUpdate
- SGStop
- SGPause
- SGGetPause
- SGPrepare
- SGRelease
- SGGetMovie
- SGGetLastMovieResID
- SGGrabPict
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help